//
//  NSDictionaryAdditions.h
//  Tint
//
//  Created by Kevin Wu on 2/22/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSDictionary (Tint)

/*
 * Querying
 */
- (BOOL)hasObjectEqualTo:(id)object;
- (BOOL)hasObjectIdenticalTo:(id)object;
- (BOOL)hasKeyEqualTo:(id)key;
- (BOOL)hasKeyIdenticalTo:(id)key;

/*
 * URL
 */
- (NSString *)newQueryString;

@end


@interface NSMutableDictionary (Tint)

/*
 * Adding and removing entries
 */
- (void)setObject:(id)object forKeyIfNotNil:(id)key;
- (void)removeObjectForKeyIfNotNil:(id)key;

@end
